// 294
// 753
// 618
.position-direction(T){top:0;left:0;right:0;bottom:auto;}
.position-direction(R){top:0;left:auto;right:0;bottom:0;}
.position-direction(B){top:auto;left:0;right:0;bottom:0;}
.position-direction(L){top:0;left:0;right:auto;bottom:0;}
// 以上长命名不为日常使用做记忆考虑
// abs和fixed模块仅考虑顶边通栏四向，作为回调使用，通常不在细化组件中使用
.abs-9(){position: absolute;.position-direction(T);}
.fixed-9(){position: fixed;.position-direction(T);}
.abs-1(){position: absolute;.position-direction(B);}
.fixed-1(){position: fixed;.position-direction(B);}
.abs-7(){position: absolute;.position-direction(L);}
.fixed-7(){position: fixed;.position-direction(L);}
.abs-3(){position: absolute;.position-direction(R);}
.fixed-3(){position: fixed;.position-direction(R);}


.fullPageLayout(@t:0;@b:0;@l:0;@r:0){
	.fullPage{
		position: relative;
		width:100vw;height:100vh;
		width:100%;height:100%;
		&-2,&-9,&-4,
		&-7,&-5,&-3,
		&-6,&-1,&-8,
		&-29,&-92,&-94,&-49,
		&-16,&-61,&-18,&-81,
		&-27,&-72,&-76,&-67,
		&-43,&-34,&-38,&-83,
		&-294,&-618,&-276,&-438{position:absolute;z-index:3;}
		&-9{top:0;left:@l;right:@r;}
		&-1{bottom:0;left:@l;right:@r;}
		&-3{top:@t;bottom:@b;right:0;width:@r;}
		&-7{top:@t;bottom:@b;left:0;width:@l;}
		&-5{top:@t;bottom:@b;left:@l;right:@r;}
		&-29,&-92{top:0;left:0;width:@l;height:@t;}
		&-94,&-49{top:0;right:0;width:@r;height:@t;}
		&-16,&-61{bottom:0;left:0;width:@l;height:@b;}
		&-18,&-81{bottom:0;right:0;width:@r;height:@b;}
		&-27,&-72{top:0;bottom:@b;left:0;width:@l;}
		&-76,&-67{top:@t;bottom:0;left:0;width:@l;}
		&-43,&-34{top:0;bottom:@b;right:0;width:@r;}
		&-38,&-83{top:@t;bottom:0;right:0;width:@r;}
		//例：bottomRight同时存在18,81两种命名可能；避免记忆错误增加容错率。
		&-294{top:0;left:0;right:0;}
		&-276{top:0;bottom:0;left:0;right:0;}
		&-438{top:0;bottom:0;right:0;}
		&-618{bottom:0;left:0;right:0;}
	}
}

.test(pos){
	.fullPageLayout(100px,30px,60px,80px);
	.header-fixed-test{.fixed-9();}
	.footer-fixed-test{.fixed-1();}
	.aside-abs-r-test{.abs-3();}
};
// .test(pos);

// 当前子模块名由3.0的fullPage.less改为3.1的position.less
// v3.1修改命名方式为河图模式简化自我记忆和简单加密

// 当前模块提供test不提供def